package model;

import java.io.Serializable;

public class MatrixWrapper implements Serializable {
	private int n;
	private int[][] transition;
	private int[] yxID;

	public MatrixWrapper(int n, int[][] transition, int[] yxID) {
		this.n = n;
		this.transition = transition;
		this.yxID = yxID;
	}
	
	public int getN(){
		return n;
	}
	public int[][] getTransition(){
		return transition;
	}
	public int[] getYXID(){
		return yxID;
	}

	public void print() {
		for (int i = 0; i < transition.length; i++) {
			for (int j = 0; j < transition[i].length; j++) {
				System.out.print(transition[i][j]);
			}
			System.out.println();
		}
		for (int i = 0; i < yxID.length; i++) {
			System.out.println(yxID[i]);
		}
	}
}
